package com.pig4cloud.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig4cloud.mall.product.entity.ProductCategoryAttributeRelation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 产品的分类和属性的关系表，用于设置分类筛选条件（只支持一级分类）
 *
 * @author fangyu
 * @date 2020-12-26 19:40:58
 */
@Mapper
public interface ProductCategoryAttributeRelationMapper extends BaseMapper<ProductCategoryAttributeRelation> {

	/**
	 * 批量创建
	 * @param relationList
	 * @return
	 */
    int insertList(List<ProductCategoryAttributeRelation> relationList);
}
